﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class hcmd_ShipTo : DataObject
    {

        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("hcmd_ShipTo", "ID");
        
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("hcmd_ShipTo", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("hcmd_ShipTo", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("hcmd_ShipTo", "UserName");
        [Column]
        public string UserFullName { get { return _UserFullName; } set { _UserFullName = value; EntityState.FieldChange("UserFullName"); } } private string _UserFullName; public static FieldInfo userFullName = new FieldInfo("hcmd_ShipTo", "UserFullName");
        [Column]
        public string Sheets { get { return _Sheets; } set { _Sheets = value; EntityState.FieldChange("Sheets"); } } private string _Sheets; public static FieldInfo sheets = new FieldInfo("hcmd_ShipTo", "Sheets");
        [Column]
        public string ST_Sold_To_No { get { return _ST_Sold_To_No; } set { _ST_Sold_To_No = value; EntityState.FieldChange("ST_Sold_To_No"); } } private string _ST_Sold_To_No; public static FieldInfo sT_Sold_To_No = new FieldInfo("hcmd_ShipTo", "ST_Sold_To_No");
        [Column]
        public string ST_Sold_To_Name { get { return _ST_Sold_To_Name; } set { _ST_Sold_To_Name = value; EntityState.FieldChange("ST_Sold_To_Name"); } } private string _ST_Sold_To_Name; public static FieldInfo sT_Sold_To_Name = new FieldInfo("hcmd_ShipTo", "ST_Sold_To_Name");
        [Column]
        public string ST_DEL_ST_Address { get { return _ST_DEL_ST_Address; } set { _ST_DEL_ST_Address = value; EntityState.FieldChange("ST_DEL_ST_Address"); } } private string _ST_DEL_ST_Address; public static FieldInfo sT_DEL_ST_Address = new FieldInfo("hcmd_ShipTo", "ST_DEL_ST_Address");
        [Column]
        public string ST_Division { get { return _ST_Division; } set { _ST_Division = value; EntityState.FieldChange("ST_Division"); } } private string _ST_Division; public static FieldInfo sT_Division = new FieldInfo("hcmd_ShipTo", "ST_Division");
        [Column]
        public string ST_Ship_To_No { get { return _ST_Ship_To_No; } set { _ST_Ship_To_No = value; EntityState.FieldChange("ST_Ship_To_No"); } } private string _ST_Ship_To_No; public static FieldInfo sT_Ship_To_No = new FieldInfo("hcmd_ShipTo", "ST_Ship_To_No");
        [Column]
        public string ST_Project_Term { get { return _ST_Project_Term; } set { _ST_Project_Term = value; EntityState.FieldChange("ST_Project_Term"); } } private string _ST_Project_Term; public static FieldInfo sT_Project_Term = new FieldInfo("hcmd_ShipTo", "ST_Project_Term");
        [Column]
        public string ST_Ship_To_Name { get { return _ST_Ship_To_Name; } set { _ST_Ship_To_Name = value; EntityState.FieldChange("ST_Ship_To_Name"); } } private string _ST_Ship_To_Name; public static FieldInfo sT_Ship_To_Name = new FieldInfo("hcmd_ShipTo", "ST_Ship_To_Name");
        [Column]
        public string ST_Country { get { return _ST_Country; } set { _ST_Country = value; EntityState.FieldChange("ST_Country"); } } private string _ST_Country; public static FieldInfo sT_Country = new FieldInfo("hcmd_ShipTo", "ST_Country");
        [Column]
        public string ST_City { get { return _ST_City; } set { _ST_City = value; EntityState.FieldChange("ST_City"); } } private string _ST_City; public static FieldInfo sT_City = new FieldInfo("hcmd_ShipTo", "ST_City");
        [Column]
        public string ST_Address { get { return _ST_Address; } set { _ST_Address = value; EntityState.FieldChange("ST_Address"); } } private string _ST_Address; public static FieldInfo sT_Address = new FieldInfo("hcmd_ShipTo", "ST_Address");
        [Column]
        public string ST_Contact_Person { get { return _ST_Contact_Person; } set { _ST_Contact_Person = value; EntityState.FieldChange("ST_Contact_Person"); } } private string _ST_Contact_Person; public static FieldInfo sT_Contact_Person = new FieldInfo("hcmd_ShipTo", "ST_Contact_Person");
        [Column]
        public string ST_Tel { get { return _ST_Tel; } set { _ST_Tel = value; EntityState.FieldChange("ST_Tel"); } } private string _ST_Tel; public static FieldInfo sT_Tel = new FieldInfo("hcmd_ShipTo", "ST_Tel");
        [Column]
        public string ST_Region { get { return _ST_Region; } set { _ST_Region = value; EntityState.FieldChange("ST_Region"); } } private string _ST_Region; public static FieldInfo sT_Region = new FieldInfo("hcmd_ShipTo", "ST_Region");
        [Column]
        public string ST_City_Code { get { return _ST_City_Code; } set { _ST_City_Code = value; EntityState.FieldChange("ST_City_Code"); } } private string _ST_City_Code; public static FieldInfo sT_City_Code = new FieldInfo("hcmd_ShipTo", "ST_City_Code");
        [Column]
        public string ST_Transportation_Zone { get { return _ST_Transportation_Zone; } set { _ST_Transportation_Zone = value; EntityState.FieldChange("ST_Transportation_Zone"); } } private string _ST_Transportation_Zone; public static FieldInfo sT_Transportation_Zone = new FieldInfo("hcmd_ShipTo", "ST_Transportation_Zone");
        [Column]
        public string ST_Attributes1 { get { return _ST_Attributes1; } set { _ST_Attributes1 = value; EntityState.FieldChange("ST_Attributes1"); } } private string _ST_Attributes1; public static FieldInfo sT_Attributes1 = new FieldInfo("hcmd_ShipTo", "ST_Attributes1");
        [Column]
        public string ST_Switch_Off_Rounding { get { return _ST_Switch_Off_Rounding; } set { _ST_Switch_Off_Rounding = value; EntityState.FieldChange("ST_Switch_Off_Rounding"); } } private string _ST_Switch_Off_Rounding; public static FieldInfo sT_Switch_Off_Rounding = new FieldInfo("hcmd_ShipTo", "ST_Switch_Off_Rounding");
        [Column]
        public string ST_Relevant_For_POD { get { return _ST_Relevant_For_POD; } set { _ST_Relevant_For_POD = value; EntityState.FieldChange("ST_Relevant_For_POD"); } } private string _ST_Relevant_For_POD; public static FieldInfo sT_Relevant_For_POD = new FieldInfo("hcmd_ShipTo", "ST_Relevant_For_POD");
        [Column]
        public string ST_Delivery_Priority { get { return _ST_Delivery_Priority; } set { _ST_Delivery_Priority = value; EntityState.FieldChange("ST_Delivery_Priority"); } } private string _ST_Delivery_Priority; public static FieldInfo sT_Delivery_Priority = new FieldInfo("hcmd_ShipTo", "ST_Delivery_Priority");
        [Column]
        public string ST_Shipping_Condition { get { return _ST_Shipping_Condition; } set { _ST_Shipping_Condition = value; EntityState.FieldChange("ST_Shipping_Condition"); } } private string _ST_Shipping_Condition; public static FieldInfo sT_Shipping_Condition = new FieldInfo("hcmd_ShipTo", "ST_Shipping_Condition");
        [Column]
        public string ST_Rebate { get { return _ST_Rebate; } set { _ST_Rebate = value; EntityState.FieldChange("ST_Rebate"); } } private string _ST_Rebate; public static FieldInfo sT_Rebate = new FieldInfo("hcmd_ShipTo", "ST_Rebate");
        [Column]
        public string ST_Price_Determin { get { return _ST_Price_Determin; } set { _ST_Price_Determin = value; EntityState.FieldChange("ST_Price_Determin"); } } private string _ST_Price_Determin; public static FieldInfo sT_Price_Determin = new FieldInfo("hcmd_ShipTo", "ST_Price_Determin");
        [Column]
        public string ST_Acct_Assgmt_Group { get { return _ST_Acct_Assgmt_Group; } set { _ST_Acct_Assgmt_Group = value; EntityState.FieldChange("ST_Acct_Assgmt_Group"); } } private string _ST_Acct_Assgmt_Group; public static FieldInfo sT_Acct_Assgmt_Group = new FieldInfo("hcmd_ShipTo", "ST_Acct_Assgmt_Group");
        [Column]
        public string ST_Tax_Classification { get { return _ST_Tax_Classification; } set { _ST_Tax_Classification = value; EntityState.FieldChange("ST_Tax_Classification"); } } private string _ST_Tax_Classification; public static FieldInfo sT_Tax_Classification = new FieldInfo("hcmd_ShipTo", "ST_Tax_Classification");
        [Column]
        public string ST_Itcoterms { get { return _ST_Itcoterms; } set { _ST_Itcoterms = value; EntityState.FieldChange("ST_Itcoterms"); } } private string _ST_Itcoterms; public static FieldInfo sT_Itcoterms = new FieldInfo("hcmd_ShipTo", "ST_Itcoterms");
        [Column]
        public string ST_Attributes_9 { get { return _ST_Attributes_9; } set { _ST_Attributes_9 = value; EntityState.FieldChange("ST_Attributes_9"); } } private string _ST_Attributes_9; public static FieldInfo sT_Attributes_9 = new FieldInfo("hcmd_ShipTo", "ST_Attributes_9");
        [Column]
        public string ST_Partial_Delivery_Per_Item { get { return _ST_Partial_Delivery_Per_Item; } set { _ST_Partial_Delivery_Per_Item = value; EntityState.FieldChange("ST_Partial_Delivery_Per_Item"); } } private string _ST_Partial_Delivery_Per_Item; public static FieldInfo sT_Partial_Delivery_Per_Item = new FieldInfo("hcmd_ShipTo", "ST_Partial_Delivery_Per_Item");
        [Column]
        public string ST_Max_Partial_Deliveries { get { return _ST_Max_Partial_Deliveries; } set { _ST_Max_Partial_Deliveries = value; EntityState.FieldChange("ST_Max_Partial_Deliveries"); } } private string _ST_Max_Partial_Deliveries; public static FieldInfo sT_Max_Partial_Deliveries = new FieldInfo("hcmd_ShipTo", "ST_Max_Partial_Deliveries");
        [Column]
        public string ST_Order_Combination { get { return _ST_Order_Combination; } set { _ST_Order_Combination = value; EntityState.FieldChange("ST_Order_Combination"); } } private string _ST_Order_Combination; public static FieldInfo sT_Order_Combination = new FieldInfo("hcmd_ShipTo", "ST_Order_Combination");
        [Column]
        public string ST_Complete_Delivery_Reqd_By_Law { get { return _ST_Complete_Delivery_Reqd_By_Law; } set { _ST_Complete_Delivery_Reqd_By_Law = value; EntityState.FieldChange("ST_Complete_Delivery_Reqd_By_Law"); } } private string _ST_Complete_Delivery_Reqd_By_Law; public static FieldInfo sT_Complete_Delivery_Reqd_By_Law = new FieldInfo("hcmd_ShipTo", "ST_Complete_Delivery_Reqd_By_Law");


        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("hcmd_ShipTo", "Time");
        
        
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("hcmd_ShipTo", "Status");

    }
}
